<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=11,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <title>机器人主页</title>
    <link class="skin-theme" rel="stylesheet" type="text/css" title="default"
          href="./static/css/robot-cs-component.css"/>
    <link class="skin-theme" rel="stylesheet" type="text/css" title="wuyi"
          href="./static/css/robot-cs-component-scarf.css" disabled="disabled"/>
    <link class="skin-theme" rel="stylesheet" type="text/css" title="national-day"
          href="./static/css/robot-cs-national-day.css" disabled="disabled"/>
    <link class="skin-theme" rel="stylesheet" type="text/css" title="zhongqiu" href="./static/css/robot-cs-zhongqiu.css"
          disabled="disabled"/>
    <style scoped>
        html, body, div, span, object, iframe,
        h1, h2, h3, h4, h5, h6, p, pre,
        a, big, em, img, small, strong, b, u, i, center,
        dl, dt, dd, ol, ul, li,
        form, label, legend,
        table, tbody, tr, th, td,
        article, aside, footer, header,
        menu, nav {
            margin: 0;
            padding: 0;
            border: 0;
            font-size: 100%;
            font: inherit;
            vertical-align: baseline;
        }

        body {
            margin: 0;
            padding: 0;
            height: 100vh;
            width: 100%;
            overflow-x: hidden;
            /*background: url("./static/image/r-back.png") no-repeat top center;*/
        }
    </style>
</head>
<body>
</body>
<script src="./static/js/jquery.min.js"></script>
<script src="./static/js/robot-cs-component.js"></script>
<!--<script src="./static/js/jquery.cookie.js"></script>-->
<script>
    $(function () {
        var url = "/api/getRobotSkin.htm"
        $.get(url).always(function (res) {
            var skinCode = null;
            if (res && res.data && res.data.skinCode) {
                skinCode = res.data.skinCode;
            }
            // $('body').robotCsRender({skinCode: "zhongqiu"});
            $('body').robotCsRender({skinCode: skinCode});
        })

    })
</script>
</html>